BL31: Enable pointer authentication support in warm boot path
authorAlexei Fedorov <[email protected]>
Wed, 6 Mar 2019 11:15:51 +0000 (11:15 +0000)
committerAlexei Fedorov <[email protected]>
Thu, 7 Mar 2019 10:50:10 +0000 (10:50 +0000)
commit7dcbb4f315087c53f3de2bf3b081f76d7513e4fd
tree1774e51af93ee60e1b002be3c2d04877dc0a7304
parentf009c5f312476cdfc0704a3c8a9c66b7fe5b6586
BL31: Enable pointer authentication support in warm boot path

In the current Pointer Authentication support added in
commit b86048c40cb7d9ccd7aeac1681945676a6dc36ff
PAuth gets enabled in BL31 cold boot entrypoint only,
(see bl31_entrypoint() in bl31\aarch64\bl31_entrypoint.S)
but not in bl31_warm_entrypoint().
This results in EnIA bit [31] in SCTLR_EL3 not being set
and pointer authentication disabled after CPU wake-up event.

Fixes ARM-software/tf-issues#684

Change-Id: I27a67804764dfba2a6d72ca119ca2bcff4f536d6
Signed-off-by: Alexei Fedorov <[email protected]>
bl31/aarch64/bl31_entrypoint.S